<template>
  <el-container>
    <el-header>
      <!-- 头部导航栏 -->
      <Header></Header>
    </el-header>
    <el-main>
      <router-view></router-view>
    </el-main>
  </el-container>
</template>

<script>
import Header from "@/components/Header.vue";
export default {
  components: {
    Header,
  },
};
</script>

<style lang="scss" scoped>
.el-container {
  height: 100%;
}

.el-header {
  background-color: #B3C0D1;
  color: #333;
  height: 56px !important;
  line-height: 56px !important;
  padding: 0px;
  min-width: 1350px;
  width: 100%;
  position: fixed;
  top: 0px;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  height: calc(100% - 56px);
  padding: 0px;
  margin-top: 56px;
  
}
</style>
